package com.xuetang9.dto.a;

/**
 * @工能 按前端需求保存用户数据
 * @作者 杜目杰
 * @时间 2020/5/12
 * @地点 公司
 * @版本 1.0.0
 * @版权 老九学堂
 */
public class UserDTO {
    // 用户id
    private String id;
    // 用户编号
    private String account;
    // 用户名
    private String name;
    // 用户角色
    private String role;
    // 用户邮箱
    private String email;
    // 创建时间
    private String time;
    // 状态
    private boolean status;

    @Override
    public String toString() {
        return "UserDTO{" +
                "id='" + id + '\'' +
                ", account='" + account + '\'' +
                ", username='" + name + '\'' +
                ", role='" + role + '\'' +
                ", email='" + email + '\'' +
                ", time='" + time + '\'' +
                ", status=" + status +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }
}
